package com.hw.service;

import com.github.pagehelper.PageInfo;
import com.hw.pojo.Users;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @InterfaceName: UserService
 * @Description: 用户业务处理层
 * @Author: vie0134
 * @Date: 2020-12-14 19:25
 * @Version: 1.0
 **/
public interface UserService {
    PageInfo<Users> findAllUser(int pageNum, int pageSize, String username, String status);
    Users findUserById(Integer id);
    Users login(String username, String password);
    void addUser(Users users);
    void updateUser(Users users);
    void deleteUserById(Integer id);
    void deleteUserByIds(List<String> ids);
}
